a = int(input("请输入年份"))
b=a%4
c=a%100
d=a%400
if b==0 and c!=0:
    print("是")
elif d==0:
    print("是")
else:
    print("不是")